package com.bestcem.xm.user.util.business.mapstract;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * mapstract转换策略常量类
 *
 * @author wangyunyun <yunyun.wang@idiaoyan.com>
 * @version v1.0
 * @date 2022/6/16 15:11
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class TransformStrategyConstant {

    /**
     * boolean转Integer
     */
    public static final String BOOLEAN_TO_INTEGER = "booleanToInteger";

    /**
     * integer转Boolean
     */
    public static final String INTEGER_TO_BOOLEAN = "integerToBoolean";

    /**
     * timestamp转Date
     */
    public static final String GRPC_TIMESTAMP_TO_DATE = "grpcTimestampToDate";

    /**
     * date转Timestamp
     */
    public static final String DATE_TO_GRPC_TIMESTAMP = "dateToGrpcTimestamp";

    /**
     * 字符串数组转字符串
     */
    public static final String STRING_ARR_TO_STRING = "stringArrToString";
}
